package com.glela.es.util;

import com.glela.common.util.Config;

public class ESConstant {

	/**
	 * elasticsearch服务器的localhost绑定的ip
	 */
	protected static final String HOST = Config.getString("es.ip");

	/**
	 * elasticsearch服务器默认的内部通讯的port
	 */
	protected static final int PORT = 9300;

	public static final String ES_INDEX = "yg_goods";

	public static final String ES_TYPE_BRAND = "brand";

	public static final String ES_TYPE_GOODS_C = "goods_c";

	public static final String ES_TYPE_GOODS_B = "goods_b";

}
